<template>
    <div>
        <h1>添加角色</h1>
        <el-form ref="form" :model="formObj" label-width="80px">
            <el-form-item label="角色名称">
                <el-input v-model="formObj.rolename"></el-input>
            </el-form-item>
            <el-form-item label="角色编码">
                <el-input v-model="formObj.rolecode"></el-input>
            </el-form-item>
            <el-form-item label="备注">
                <el-input v-model="formObj.notes"></el-input>
            </el-form-item>
        </el-form>
    </div>
</template>

<script>
export default {
    data() {
        return {
        };
    },
    props:['formObj']
};
</script>

<style  lang="less" scoped></style>
